<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用人单位信息管理</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>


<body>
<form name="searchForm" method="post">
<table class="bordernone" width="675" height="69" align="center">
  <tr>
    <td class="bg_blue" width="100" align="right" >案件编号：</td>
    <td width="140"><input type="text" name="caseInfoCode" value="${param.caseInfoCode}"></td>
    <td class="bg_blue" width="117" align="right">单位名称：</td>
    <td width="304"><input type="text" name="empInfoName" value="${param.empInfoName}"></td>
  </tr>
  <tr>
    <td class="nohover" colspan="4" align="center"><input class="buttonsearch" type="submit" value="查询">&nbsp;    <input class="buttonreset" type="reset" value="重置" ></td>
  </tr>
</table>
</form>
<table width="100%" border="1">
  <tr>
    <th width="35">序号</th>
    <th width="70">详细</th>
    <th width="70">案件编号</th>
    <th width="280">单位名称</th>
    <th width="70">立案日期</th>
    <th width="70">案件状态</th>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
    <td>${pageNum + lineInfo.count}</td>
    <td><a href="<%=request.getContextPath()%>/CaseInfo.do?method=applyDetail&cid=${prod.caseInfoId}">详细</a></td>
    <td>${prod.caseInfoCode}</td>
    <td>${prod.employerInfo.empInfoName}</td>
    <td><fmt:formatDate pattern="yyyy-MM-dd" value="${prod.caseInfoBeginDate}"/></td>
	 <td>
	 <c:choose>
	 <c:when test="${prod.caseInfoCasestate == '0'}">尚未立案</c:when>
	 <c:when test="${prod.caseInfoCasestate == '1'}">立案审批</c:when>
	 <c:when test="${prod.caseInfoCasestate == '2'}">调查取证</c:when>
	 <c:when test="${prod.caseInfoCasestate == '3'}">处理审批</c:when>
	 <c:when test="${prod.caseInfoCasestate == '4'}">处理</c:when>
	 <c:when test="${prod.caseInfoCasestate == '5'}">结案审批</c:when>
	 <c:when test="${prod.caseInfoCasestate == '7'}">不予以立案</c:when>
	 <c:when test="${prod.caseInfoCasestate == '9'}">案件延期</c:when>
     <c:when test="${prod.caseInfoCasestate == 'f'}">案件待移送</c:when>
	 <c:when test="${prod.caseInfoCasestate == 'e'}">案件转移</c:when>
	 </c:choose>
	 </td>
  </tr>
  </c:forEach>
  <tr>
    <td class="nohover" colspan="12" align="center">&nbsp;
    
    <form name="pageForm" method="post">
    <input type="hidden" name="caseInfoCode" value="${param.caseInfoCode}"/>
    <input type="hidden" name="empInfoName" value="${param.empInfoName}"/>
    <c:out value="${foot}" escapeXml="false"/>
    </form>
    </td>
  </tr>
</table>
</body>
</html>
